package com.spark.trouble.model


data class HTHistoryModel(
        var msg: String = "", // 成功
        var code: String = "", // 200
        var data: Any = Any(), // null
        var resultMaps: List<ResultMap> = listOf()
) {

    data class ResultMap(
            var page: Page = Page()
    ) {

        data class Page(
                var pageNo: Int = 0, // 1
                var pageSize: Int = 0, // 5
                var totalRecord: Int = 0, // 3
                var totalPage: Int = 0, // 1
                var results: List<Result> = listOf()
        ) {

            data class Result(
                    var taskId: Int = 0, // 1828
                    var mainId: Int = 0, // 1827
                    var sourceProcessorId: Int = 0, // 19
                    var sourceProcessorName: String = "", // 张峰
                    var sourceId: Int = 0, // 2
                    var sourceDescription: String = "", // 使用非抗静电、非阻燃风筒
                    var sourceMoney: Int = 0, // 200
                    var sourceScore: Int = 0, // 3
                    var troubleContent: String = "", // 使用非抗静电、非阻燃风筒
                    var processType: Int = 0, // 1
                    var processorId: Int = 0, // 19
                    var fatal: Boolean = false, // false
                    var state: String = "", // 1
                    var deletes: String = "", // 4
                    var rectifyDay: Int = 0, // 0
                    var taskType: String = "" // 7
            )
        }
    }
}